package ooday02;

public class Test {
    public static void main(String[] args) {
        Dog dog = new Dog("大黄", 3, "黑");
        dog.drink();
        dog.eat();
        dog.lookHome();


        Chick chick = new Chick("坤坤",1,"黄");
        chick.drink();
        chick.eat();
        chick.layEggs();


        Fish fish = new Fish("金金",2,"银");
        fish.drink();
        fish.eat();
    }
}
